Sponsored by Deepsite.site

OptimEngine - Operations Scheduling Solver

Created By
Michele Campia month ago
Flexible Job Shop Scheduling solver using Google OR-Tools CP-SAT. Optimizes task-to-machine assignments with precedence, time windows, setup times, and multiple objectives. MCP-native for AI agents.
Overview

⚡ OptimEngine

Operations Intelligence for AI Agents — L1 → L3 in one conversation.

11 MCP tools that optimize, quantify risk, forecast, and prescribe. From production scheduling to Monte Carlo simulation. From delivery routing to Pareto frontiers. Ask in natural language, get optimal decisions.

Live Version Tests License ERC-8004


🤖 Use with Claude (60 seconds)

No installation. No code. Works on claude.ai (Free, Pro, Max, Team, Enterprise).

  1. Open claude.ai
  2. Click +Integrations
  3. Add custom integration
  4. Paste this URL:
https://optim-engine-production.up.railway.app/mcp/sse

Claude discovers all 11 tools automatically. Try asking:

"Schedule 5 production orders on 4 machines, minimize delays"

"Optimize delivery routes for 6 clients with 2 trucks"

"What happens if dosing time increases 30%? Run sensitivity analysis"

"I have historical data for the last 8 weeks. Forecast next month and recommend actions"


🧠 What Is OptimEngine?

An Operations Intelligence Engine — not a wrapper, not a chatbot. A computational decision brain that solves NP-hard optimization problems and quantifies risk. Powered by Google OR-Tools CP-SAT and Routing solvers.

4 Intelligence Levels

LevelCapabilityQuestion It Answers
L1 DeterministicScheduling, Routing, Packing, ValidationWhat's the optimal plan?
L2 UncertaintySensitivity, Robust, StochasticHow fragile is this plan?
L2.5 Multi-ObjectivePareto FrontierWhat's the best trade-off?
L3 PrescriptiveForecast → Optimize → Risk → AdviseWhat should I do and why?

11 MCP Tools

L1 — Deterministic Optimization

  • optimize_schedule — Flexible Job Shop (FJSP) with precedence, setup times, priorities, 4 objectives
  • optimize_routing — CVRPTW with capacity, time windows, distance matrix, drop visits
  • optimize_packing — Multi-dimensional bin packing with weight, volume, groups
  • validate_schedule — Find overlaps, precedence violations, eligibility errors

L2 — Optimization under Uncertainty

  • analyze_sensitivity — Parametric perturbation, elasticity, risk ranking
  • optimize_robust — Worst-case / percentile protection, price of robustness
  • optimize_stochastic — Monte Carlo + CVaR with 4 distributions

L2.5 — Multi-Objective

  • optimize_pareto — 2-4 competing objectives, trade-off analysis, correlation

L3 — Prescriptive Intelligence

  • prescriptive_advise — 4 forecast methods, 3 risk appetites, confidence intervals, action items

Infrastructure

  • health_check — System status
  • root — Server info, capabilities, tool listing

📊 Live Demo Results

Every number below comes from a real call to OptimEngine. Zero mock data.

Digital Twin Decisionale — NovaCosm (Cosmetics Manufacturer)

Full production-to-delivery chain: 6 lines, 8 orders, 5 brand clients.

PhaseToolResult
Plant diagnosisoptimize_schedule575 min makespan, 2 late, Line 2 bottleneck (82.6%)
Cycle time forecastprescriptive_advise3 rising trends (+1.1-1.65%/week), +5.6% makespan in 4 weeks
What-if: cross-lineoptimize_scheduleMove 1 product to Line 1 → tardiness -65%, lines balanced
Risk profileoptimize_stochastic50 Monte Carlo, CV 4.5%, 100% feasible
Client doubles ordersoptimize_scheduleWithout investment: 530 min tardiness, 50% late
+ New line investmentoptimize_scheduleWith Line 2B: 0 tardiness, 478 min, 8/8 on-time
Manual schedule checkvalidate_schedule4 violations found (overlaps + precedence)
Risk rankinganalyze_sensitivitySerum dosing most critical (score 11.3, elasticity 0.227)
Delivery routingoptimize_routing6 clients, 2 trucks, 70 km, all time windows met
Truck loadingoptimize_packing8/8 pallets, 0 excluded, route-constrained

Strategic decisions generated: cross-line authorization (saves 125 min/day), maintenance alert (Line 2 degrading), investment quantification (Line 2B enables client growth).

BevDistri (F&B HoReCa Distribution)

ToolResult
optimize_routing18 clients, 2/3 vehicles used, 132 km, all windows met
prescriptive_advise+21% Modena demand in 4 weeks, decision deadline identified
optimize_packing13 items, 2 bins, 0 drops, 97% utilization alert
analyze_sensitivityHotel demand can double without route split

🔧 For Developers

MCP Configuration (Claude Desktop, Cursor)

{
  "mcpServers": {
    "optim-engine": {
      "command": "npx",
      "args": [
        "supergateway",
        "--sse",
        "https://optim-engine-production.up.railway.app/mcp/sse"
      ]
    }
  }
}

Direct API

curl -X POST https://optim-engine-production.up.railway.app/optimize_schedule \
  -H "Content-Type: application/json" \
  -d '{
    "jobs": [
      {
        "job_id": "ORD-001",
        "priority": 8,
        "due_date": 480,
        "tasks": [
          {"task_id": "dosing", "duration": 90, "eligible_machines": ["line_A", "line_B"], "setup_time": 15},
          {"task_id": "filling", "duration": 60, "eligible_machines": ["line_A", "line_D"], "setup_time": 10}
        ]
      }
    ],
    "machines": [{"machine_id": "line_A"}, {"machine_id": "line_B"}, {"machine_id": "line_D"}],
    "objective": "minimize_makespan"
  }'

Orchestration Pattern: Routing → Packing

When combining routing and packing (e.g., delivery logistics), use this pattern:

  1. Call optimize_routing → get routes with vehicle-to-client assignments
  2. Partition items by route → each vehicle's items based on routing output
  3. Call optimize_packing per vehicle → separate packing per truck/van

This ensures pallet assignments match delivery routes. See the NovaCosm demo for a complete example.


🌐 Available On

PlatformLink
Claude.aiAdd as custom integration (instructions above)
MCPizemcpize.com/mcp/optim-engine
Apify Storeapify.com/hearty_indentation/optim-engine
LobeHublobehub.com/mcp/michelecampi-optim-engine
mcp.somcp.so/server/optim-engine
Railwayoptim-engine-production.up.railway.app
ERC-8004Agent #22518 on Base L2
Landing Pageoptim-engine-landing.vercel.app

📈 Numbers

MetricValue
Solver modules9
MCP tools11
Tests passing121
Intelligence levels4 (L1, L2, L2.5, L3)
Forecast methods4
Stochastic distributions4
Scheduling objectives4
Routing objectives4
Risk appetites3
ERC-8004 Agent#22518 (Base L2)
Capital invested€0

🏗️ Architecture

                    ┌─────────────────────────────────┐
                    │         Claude / AI Agent        │
                    │    (natural language interface)   │
                    └──────────────┬──────────────────┘
                                   │ MCP Protocol
                    ┌──────────────▼──────────────────┐
                    │      OptimEngine v8.0.0          │
                    │      FastAPI + MCP Server        │
                    ├─────────────────────────────────┤
                    │  L1 Deterministic                │
                    │  ├─ Scheduling (CP-SAT FJSP)     │
                    │  ├─ Routing (OR-Tools CVRPTW)    │
                    │  ├─ Packing (CP-SAT)             │
                    │  └─ Validator                    │
                    ├─────────────────────────────────┤
                    │  L2 Uncertainty                  │
                    │  ├─ Sensitivity Analysis          │
                    │  ├─ Robust Optimization           │
                    │  └─ Stochastic (Monte Carlo)     │
                    ├─────────────────────────────────┤
                    │  L2.5 Multi-Objective             │
                    │  └─ Pareto Frontier               │
                    ├─────────────────────────────────┤
                    │  L3 Prescriptive Intelligence     │
                    │  └─ Forecast → Optimize → Advise  │
                    └─────────────────────────────────┘
                         Google OR-Tools · Python
                         Railway · ERC-8004 Base L2

🤝 Consulting & Custom Integration

Need OptimEngine configured for your specific operations? Production scheduling, logistics optimization, risk analysis for your plant?

I build Digital Twin Decisional systems — from scheduling diagnosis to strategic what-if analysis. The solver runs in seconds; the domain expertise makes it useful.

Michele Campi — Operations Intelligence Engineer

  • GitHub: @MicheleCampi
  • 7+ years operations controlling in cosmetics contract manufacturing
  • Built OptimEngine solo: 11 tools, 4 intelligence levels, 121 tests, zero capital

License

MIT — use it freely. The code is open; the intelligence design is the moat.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
CursorThe AI Code Editor
Serper MCP ServerA Serper MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Tavily Mcp
Playwright McpPlaywright MCP server
DeepChatYour AI Partner on Desktop
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Amap Maps高德地图官方 MCP Server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
ChatWiseThe second fastest AI chatbot™
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.